<?php
    $tweet = Tweets::model()->find('id = :id', $tweet_id);
    $user = Users::model()->find('id = :id', $tweet->user_id);
?>
<div class="tweet original-tweet js-stream-tweet js-actionable-tweet js-hover js-profile-popup-actionable js-original-tweet my-tweet," data-tweet-id="" data-item-id="230974370070269953" data-screen-name="" data-name="Dang Thanh Tu" data-user-id="83644624" data-is-reply-to="true">
    <i class="dogear"></i>
    <div class="content">
        <div class="stream-item-header">
            <small class="time">
                <a href="https://twitter.com/luckymancvp/status/230974370070269953" class="tweet-timestamp js-permalink" title="6:32 PM - 2 Aug 12"><span class="_timestamp js-short-timestamp " data-time="1343903555000" data-long-form="true">1h</span></a>
            </small>
            <a class="account-group js-account-group js-action-profile js-user-profile-link" href="https://twitter.com/luckymancvp" data-user-id="83644624">
                <img class="avatar js-action-profile-avatar" src="<?php echo Html::imageUrl("onepiece_normal.jpeg") ?>" alt="Dang Thanh Tu">
                <strong class="fullname js-action-profile-name show-popup-with-id">Dang Thanh Tu</strong>
                <span>‏</span>
                <span class="username js-action-profile-name"><s>@</s><b>luckymancvp</b></span>
                                        </a>
                                    </div>


                                    <p class="js-tweet-text">  <a class="twitter-atreply pretty-link" href="https://twitter.com/inj3ct0r" data-screen-name="inj3ct0r"><s>@</s><b>inj3ct0r</b></a> This is very useful
                                    </p>


                                    <div class="stream-item-footer">





                                        <div class="context">
                                        </div>


                                        <a class="details with-icn js-details" href="https://twitter.com/luckymancvp/status/230974370070269953">
                                            <span class="details-icon js-icon-container">
                                                <i class="sm-chat"></i>
                                            </span>
                                            <b>
                                                <span class="expand-stream-item js-view-details">
                                                    View conversation
                                                </span>
                                                <span class="collapse-stream-item js-hide-details">
                                                    Hide conversation
                                                </span>
                                            </b>
                                        </a>





                                        <ul class="tweet-actions js-actions">
                                            <li class="action-reply-container">

                                                <a class="with-icn js-action-reply" data-modal="tweet-reply" href="https://twitter.com/#" title="Reply">
                                                    <i class="sm-reply"></i>
                                                    <b>Reply</b>
                                                </a>
                                            </li>
                                            <li class="action-del-container">
                                                <a class="with-icn js-action-del" href="https://twitter.com/#" title="Delete">
                                                    <i class="sm-trash"></i>
                                                    <b>Delete</b>
                                                </a>
                                            </li>
                                            <li class="action-fav-container">
                                                <a class="with-icn js-toggle-fav" href="<?php $tweet_id = 1; echo Yii::app()->createUrl("/tweet/favorite", array('tweet_id' => $tweet_id))?>">
                                                    <i class="sm-fav"></i>
                                                    <b>
                                                        <span class="unfavorite" title="Undo favorite">Favorited</span>
                                                        <span class="favorite" title="Favorite">Favorite</span>
                                                    </b>
                                                </a>
                                            </li>
                                        </ul>      </div>


                                    <div class="expanded-content js-tweet-details-dropdown">
                                    </div>
                                </div>
                            </div>

                        </div>
